package com.yanqu.road.entity.activity.suitang.entity.battle;

import com.yanqu.road.entity.activity.suitang.entity.team.CrossSuiTangTeamArrive;
import com.yanqu.road.entity.activity.tongbing.data.CrossTongBingBattlefieldTeam;

import java.util.LinkedList;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class CrossSuiTangBattlefield {

    // 战场创建时间
    private long createTime;
    // 上次战斗时间
    private long lastBattleTime;
    // 战斗场次
    private int battledNum;
    // 防守队列 <teamNo, CrossSuiTangBattlefieldTeam>
    private Map<Long, CrossSuiTangBattlefieldTeam> defTeamMap = new ConcurrentHashMap<>();
    // 进攻队列
    private Map<Long, CrossSuiTangBattlefieldTeam> atkTeamMap = new ConcurrentHashMap<>();
    // 交战队列
    private Map<Long, CrossSuiTangBattlefieldTeam> attackingTeamMap = new ConcurrentHashMap<>();

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getLastBattleTime() {
        return lastBattleTime;
    }

    public void setLastBattleTime(long lastBattleTime) {
        this.lastBattleTime = lastBattleTime;
    }

    public int getBattledNum() {
        return battledNum;
    }

    public void setBattledNum(int battledNum) {
        this.battledNum = battledNum;
    }

    public Map<Long, CrossSuiTangBattlefieldTeam> getDefTeamMap() {
        return defTeamMap;
    }

    public void setDefTeamMap(Map<Long, CrossSuiTangBattlefieldTeam> defTeamMap) {
        this.defTeamMap = defTeamMap;
    }

    public Map<Long, CrossSuiTangBattlefieldTeam> getAtkTeamMap() {
        return atkTeamMap;
    }

    public void setAtkTeamMap(Map<Long, CrossSuiTangBattlefieldTeam> atkTeamMap) {
        this.atkTeamMap = atkTeamMap;
    }

    public Map<Long, CrossSuiTangBattlefieldTeam> getAttackingTeamMap() {
        return attackingTeamMap;
    }

    public void setAttackingTeamMap(Map<Long, CrossSuiTangBattlefieldTeam> attackingTeamMap) {
        this.attackingTeamMap = attackingTeamMap;
    }

    // =============================
}
